package com.aruba.librouter_complier

/**
 * Created by aruba on 2021/11/22.
 */
object Const {
    const val ACTIVITY = "android.app.Activity"
    //目前没使用
    const val ISERVICE = "android.app.Fragment"

    // 生成的类实现的接口
    const val IROUTER_GROUP = "com.aruba.librouter_router.`interface`.IRouterGroup"
    const val IROUTER_PATH = "com.aruba.librouter_router.`interface`.IRouterPath"

    // 接口的package
    const val IROUTER_PACKAGE = "com.aruba.librouter_router.`interface`"

    // 接口的simplename
    const val IROUTER_GROUP_SIMPLENAME = "IRouterGroup"
    const val IROUTER_PATH_SIMPLENAME = "IRouterPath"

    //接口需要实现的方法
    const val METHOD_IROUTER_PATH = "cacheInRouterMetaByPath"
    const val METHOD_IROUTER_GROUP = "cacheInRouterPathByGroup"

    //生成类名的string format
    const val FILENAME_FORMAT_PATH = "%s_%s_path"
    const val FILENAME_FORMAT_GROUP = "%s_%s_group"
    
    // 生成的类文件前缀
    const val FILENAME_PREFIX = "Router"
    // 生成的类的package
    const val GENERATE_PACKAGE = "com.aruba.router"
}